// 订单管理模块
import request from "@/utils/request.js";  //引入增强过后的axios

// 订单列表
export const orderList = function (params) {
    return request({
        method: 'get',
        url: '/order/list',
        params,
    });
}

// 获取订单
export const orderDetail = function (params) {
    return request({
        method: 'get',
        url: '/order/detail',
        params,
    });
}